﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.PvP

    ''' <summary>
    ''' A class containing information about a member of an arena team.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Member

        ''' <summary>
        ''' Character information about the member.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Character As Character

        ''' <summary>
        ''' The rank of the member within the team.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks>This is a 1 if they own the team.</remarks>
        Public Property Rank As Integer

        ''' <summary>
        ''' The number of games played.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property GamesPlayed As Integer

        ''' <summary>
        ''' The number of games won.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property GamesWon As Integer

        ''' <summary>
        ''' The number of games lost.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property GamesLost As Integer

        ''' <summary>
        ''' The number of games played this session.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SessionGamesPlayed As Integer

        ''' <summary>
        ''' The number of games won this session.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SessionGamesWon As Integer

        ''' <summary>
        ''' The number of games lost this session.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SessionGamesLost As Integer

        ''' <summary>
        ''' The member's personal team rating.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property PersonalRating As Integer

        Protected Friend Sub New(cCharacter As Character, intRank As Integer, intGamesPlayed As Integer, intGamesWon As Integer, intGamesLost As Integer, intSessionGamesPlayed As Integer, intSessionGamesWon As Integer, intSessionGamesLost As Integer, intPersonalRating As Integer)
            Character = cCharacter
            Rank = intRank
            GamesPlayed = intGamesPlayed
            GamesWon = intGamesWon
            GamesLost = intGamesLost
            SessionGamesPlayed = intSessionGamesPlayed
            SessionGamesWon = intSessionGamesWon
            SessionGamesLost = intSessionGamesLost
            PersonalRating = intPersonalRating
        End Sub

    End Class

End Namespace
